local joy__feifu = fk.CreateSkill {

  name = "joy__feifu",

  tags = {  },

}



joy__feifu:addEffect("viewas", {
  name = "joy__feifu",
  anim_type = "defensive",
  pattern = "jink",
  card_filter = function(self, player, to_select, selected)
    return #selected == 0 and Fk:getCardById(to_select).color == Card.Black
  end,
  view_as = function(self, player,cards)
    if #cards ~= 1 then return end
    local card = Fk:cloneCard("jink")
    card.skillName = joy__feifu.name
    card:addSubcard(cards[1])
    return card
  end,
})

return joy__feifu